package com.amethyst.web;

import com.amethyst.model.Student;
import com.amethyst.model.TestModel;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = {"com.amethyst"})
@MapperScan("com.amethyst.service.mapper")
public class WebApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class, args);
        System.out.println("=======" + TestModel.TEST);
        Student s = new Student();
        s.setName("zhang");
        System.out.println("-----" + s.getName());
    }

}
